<!doctype html>
<html>

<head>
  <meta charset="utf-8">
  <title> flvjs Demo</title>
</head>

<body>
<video id="videoElement" class="video-js" controls muted autoplay>
</video>
<script src="https://cdn.bootcdn.net/ajax/libs/flv.js/1.6.2/flv.js"></script>


<script>
  if (flvjs.isSupported()) {
    var videoElement = document.getElementById('videoElement');
    var flvPlayer = flvjs.createPlayer({
      type: 'flv',
      url: 'https://rivermap-file.oss-cn-hangzhou.aliyuncs.com/video/flv/test.flv'
      // url: 'https://zhuguibiao.github.io/flv.js/assets/265.flv'
      // url: 'https://iotdev.ysyec.com:31766/main/eHh4eFNfZ2JfMWRjMDQwNTYtMmUxXzUzMDEwMTAwMDAyMDAwMDAwMDAxXzUzMDEwMTAwMDAxMzEwMDAwMDIwOjc5MjVmNzdmLTE0NmZlNDAtMDUzMTU5OGU.live.flv?deviceId=xxxxS_gb_1dc04056-2e1_53010100002000000001_53010100001310000020&playType=0&token=NzkyNWY3N2YtMTQ2ZmU0MC0wNTMxNTk4ZToxNzM1ODc4OTY0'
    });
    flvPlayer.attachMediaElement(videoElement);
    flvPlayer.load();
    flvPlayer.play();
  }
</script>
</body>

</html>